package com.carsystems.mapper;

import com.carsystems.pojo.PolicyOfCar;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface PolicyOfCarMapper {
    List<PolicyOfCar> querPolicyList();

    PolicyOfCar querPolicyByPrimaryKey(Integer zc_id);

    Integer addPolicy(PolicyOfCar policy);

    Integer updatePolicy(PolicyOfCar policy);

    int deletePolicy(Integer zc_id);
}
